package com.baizhi.service;

import com.baizhi.entity.CmfzUser;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ExecutionException;


public interface CmfzUserService {

    Map queryAll(Integer page, Integer rows);

    void insertMany(List<CmfzUser> cmfzUsers);

    List<Map> queryCountBySex();

    List<Map> queryCountByProvince();

    List<Map<String, Integer>> queryCountByTime();

    Map queryCountByThread();

    Map queryCountByFuture() throws ExecutionException, InterruptedException;

}
